<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>DoYouHaoBaby示例：静态页面生成</title>
<link rel='stylesheet' type='text/css' href='{:__PUBLIC__}/Css/common.css'>
 </head>
 <body>
 <div class="main">
 <h2>DoYouHaoBaby示例之：静态页面生成</h2>
<div class="title">设置页面生成静态和有效期</div><br/>
<div class="result" style="color:red">当前时间：<php>echo date( 'Y-m-d H:i:s',time() );</php></div>

<a href="javascript:location.reload()">刷新页面</a> 后注意看时间是否有变化

 <div class="line"></div>
 <div class="title">示例源码</div><br/>
 <div class="li_title">配置文件Config.php</div><br/>
 <div class="code"><php>highlight_file( APP_PATH.'/App/Config/Config.php')</php></div>
 <div class="li_title">静态定义文件html.php</div><br/>
 <div class="code"><php>highlight_file( APP_PATH.'/App/Config/Html.php')</php></div>
 <div class="li_title">控制器IndexControl类</div><br/>
 <div class="code"><php>highlight_file( APP_PATH.'/App/Class/Controller/IndexController.class.php')</php></div>
</div>
 </body>
</html>
